package edu.kit.aifb.ruleintegrator.bayes.network;

public abstract class RandomVariable {
	
	private String m_label;
	private Factor m_factor;
	public RandomVariable(String label,Factor fct){
		this.m_label=label;
		this.m_factor=fct;
	}

	public Factor getFactor(){
		return this.m_factor;
	}

	@Override
	public String toString() {
		return this.m_label;
	}
	
	
}
